<?php
require("header.php");

if ($loggedin==0)
{
	echo '<form action="login.php" method="post"> Email: <input type="text" name="email" /> <br> Password: <input type="password" name="password" /> <input type="submit" /> </form>';
	echo '<a href="register.php">register</a>';
}
else
{
	echo 'hello '.first_name;
	echo '<a href="logout.php">logout</a>';
}

?>
<br>

